<?php
/**
 * Identify.php
 * 
 * 
 * @category    Madoqua
 * @package     Module
 * @subpackage  Front
 */

/** base class */
require_once 'Madoqua/Form.php';

/**
 * Front_Openid_Identify
 * 
 * Identify with OpenID
 *  
 * @category    Madoqua
 * @package     Module
 * @subpackage  Front
 */
class Front_Openid_Identify extends Madoqua_Form {

    /**
     * constructor
     */
    public function __construct() {
        parent::__construct();
        
        $this->addElement('text', 'identifier', array(
            'label' => 'OpenID identifier',
            'required' => true,
            'validators' => array(
                array('stringLength', false, array(1, 255))
            )
        ));    
        //name
       
        $this->addElement('submit', 'submit', array(
            'value' => 'Submit'
        ));
        //submit
        
    }
}